<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>辅助资料--供应商分类</title>
		<link rel="stylesheet" type="text/css" href="css/public.css">
		<script type="text/javascript" charSet="UTF-8" src="js/sorttable.js"></script>
		<script language="JavaScript" charSet="UTF-8" src="js/public.js"></script>
		<script type="text/javascript" charSet="UTF-8" src="js/date1.js"></script>
		<script type="text/javascript" charSet="UTF-8"
			src="js/checkboxSelect.js"></script>
	</head>
	<body>
		<div id="info_all">
			<div id="info_top">
				辅助资料--供应商分类
			</div>
			<!-- 主输入区 -->
			<!-- 功能按钮 -->
			<s:form action="selectSuppliercategorySelect.action" method="post"
				theme="simple" id="delrow">
				<div id="info_main">
					<div id="select">
						<hr>
						<table>
							<tr>
								<td>
									代码&nbsp;
								</td>
								<td>
									<s:hidden name="suppliercategoryModel.supplierCategoryId"></s:hidden>

									<s:textfield
										name="suppliercategoryModel.supplierCategoryCode"
										size="12"></s:textfield>
									&nbsp;&nbsp;&nbsp;
								</td>
								<td>
									名称&nbsp;
								</td>
								<td>
									<s:textfield
										name="suppliercategoryModel.supplierCategoryName"
									size="12"></s:textfield>
									&nbsp;&nbsp;&nbsp;
								</td>
							</tr>
						</table>
					</div>
					<div class="sele">
						<input type="submit" value="查询" onFocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" id="btnsize" />
						<input type="reset" value="重置" onFocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" id="btnsize" />
						<hr>
					</div>
					<!-- 信息显示栏 -->
					<div id="info_info0">
						<table id="info_table" width="310px" cellspacing=1px
							cellpadding=1px class="sortable" align="center">
							<thead>
								<tr>
									<th width="140px">
										代码
									</th>
									<th width="170px">
										名称
									</th>

								</tr>
							</thead>
							<tbody>
								<s:if test="!suppliercategoryList.isEmpty()">
									<s:iterator value="suppliercategoryList"
										status="stat">
										<tr
											ondblclick="childToParent('supplierCategoryId','<s:property value="supplierCategoryId"/>','supplierCategoryName','<s:property value="supplierCategoryName"/>')">
											<%--<td>
										<s:checkbox name="rowlist" fieldValue="%{industryId}"></s:checkbox>
									</td>
									--%>
											<td>
												<s:property value="supplierCategoryCode" />
											</td>
											<td>
												<s:property value="supplierCategoryName" />
											</td>

										</tr>
									</s:iterator>
								</s:if>
								<s:else>
									<tr>

									</tr>
								</s:else>
							</tbody>
							<tfoot>
							</tfoot>
						</table>
						<script language="javascript">  
						//("表格名称","奇数行背景","偶数行背景","点击后背景");
						 mouseclick("info_table","#ffffff","#ffffff","#e6f0fd");
						 //("表格名称","奇数行背景","偶数行背景");
						 //setcolor("t","#ffffff","#ffffff");
					</script>
					</div>
				</div>
			</s:form>
		</div>
	</body>
</html>

